function enableCamera(viewer,flag) {
    viewer.scene.screenSpaceCameraController.enableRotate = flag;
    viewer.scene.screenSpaceCameraController.enableTranslate = flag;
    viewer.scene.screenSpaceCameraController.enableZoom = flag;
    viewer.scene.screenSpaceCameraController.enableTilt = flag;
    viewer.scene.screenSpaceCameraController.enableLook = flag;
}

export {enableCamera}